package com.chancingpack.service;

import com.chancingpack.dal.model.WxUserLogin;
import com.chancingpack.util.CommonPage;
import com.chancingpack.util.CommonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/17.
 */
public interface WxUserLoginService {
    CommonResult insertRecord(WxUserLogin record);

    CommonResult updateRecord(WxUserLogin record);

    CommonResult deleteRecord(Integer userloginId);

    WxUserLogin getListByName(String username);

    List<WxUserLogin> getList();

    List<Map<String,Object>> getListMap(Integer userloginId);

    CommonResult getListByPage(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);

    List<Map<String,Object>> getSgbasCustInfo();

    List<Map<String,Object>> getRole();

    CommonResult getCheckLogin(WxUserLogin record);

    CommonResult getWxCheckLogin(WxUserLogin record);

    List<Map<String,Object>> getSgbasCustInfoByCustId(String custId);

}
